package com.demo.reservation;

import com.baomidou.mybatisplus.generator.config.builder.ConfigBuilder;
import com.baomidou.mybatisplus.generator.engine.AbstractTemplateEngine;

import java.io.File;
import java.util.Map;

public class CustEngine extends AbstractTemplateEngine {
    @Override
    public AbstractTemplateEngine init(ConfigBuilder configBuilder) {
        return this;
    }

    @Override
    public String templateFilePath(String filePath) {
        return "";
    }

    @Override
    public void writer(Map<String, Object> objectMap, String templatePath, File outputFile) throws Exception {
        super.writer(objectMap,templatePath,outputFile);
        System.out.println(templatePath);
    }
}
